//#define __DEBUG__
#define THIS_FILE "fn_markerupdateev.sqf"
#include "x_setup.sqf"

private ["_m", "_o"];
_m = _this select 0;_o = _this select 1;
while {!isNull _o} do {
	_m setMarkerPosLocal (visiblePositionASL _o);
	_m setMarkerDirLocal getdir _o;
	sleep 0.02;
};
_m setMarkerColorLocal "ColorBlack";
sleep 3;
deleteMarkerLocal _m;